home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Utilities / KPerfMon / Source / AppDelegate.h next >
Text File  |  1992-11-17  |  2KB  |  62 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <objc/Object.h>
  5.  
  6. extern float pollInterval;
  7.  
  8. @interface AppDelegate:Object
  9. {
  10.     id  monitor;
  11.     DPSTimedEntry stepEntry;
  12.     DPSTimedEntry flipEntry;
  13.     int tag;
  14.     id  infoPanel;
  15.     float flipInterval;
  16.     BOOL displayCpu, displayDisk, displayMemory, displayNetwork;
  17.     char displayInfo[10];
  18.     id pollText;
  19.     id pollSlider;
  20.     id flipText;
  21.     id flipSlider;
  22.     id cpuSwitch;
  23.     id diskSwitch;
  24.     id memorySwitch;
  25.     id networkSwitch;
  26.  
  27. }
  28.  
  29. /******************************************************************************************************************************
  30.  *    Delegation methods called by the Application object.                                                                    *
  31.  ******************************************************************************************************************************/
  32. - appWillInit:sender;
  33. - appDidInit:sender;
  34. - appWillTerminate:sender;
  35.  
  36. /******************************************************************************************************************************
  37.  *    New Methods                                                                                                             *
  38.  ******************************************************************************************************************************/
  39. - info:sender;
  40. - flipMonitor;
  41. - setPollInterval:sender;
  42. - setFlipInterval:sender;
  43. - setDisplayCpu:sender;
  44. - setDisplayDisk:sender;
  45. - setDisplayMemory:sender;
  46. - setDisplayNetwork:sender;
  47. - saveDisplayInfo;
  48.  
  49. /******************************************************************************************************************************
  50.  *    These two methods are here just to fool the Monitor object when we set the initial info to be viewed.                   *
  51.  ******************************************************************************************************************************/
  52. - selectedCell;
  53. - (int)tag;
  54.  
  55. @end
  56.  
  57. /******************************************************************************************************************************
  58.  *    This function is called by a timed entry.                                                                               *
  59.  ******************************************************************************************************************************/
  60. void _step(DPSTimedEntry teNumber,double now,id monitor);
  61. void _flip(DPSTimedEntry teNumber,double now,id self);
  62.